package com.xiaoyu.admin;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;

/**
 * 微服务健康监控
 *
 * @author zxy
 */

//@LoadBalancerClient(name  = "${spring.application.name}")
@SpringBootApplication(scanBasePackages = "com.xiaoyu")
@EnableAdminServer
public class XiaoYuAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaoYuAdminApplication.class, args);
    }

}
